Skip to content

[lunar] fix build error after upgrade tauri to 2.0.0#633

Merged
genedna merged 2 commits into
gitmono-dev:mainfrom
Hou-Xiaoxuan:upgrade_tauri2
Oct 4, 2024
Merged

[lunar] fix build error after upgrade tauri to 2.0.0#633
genedna merged 2 commits into
gitmono-dev:mainfrom
Hou-Xiaoxuan:upgrade_tauri2

Conversation

@Hou-Xiaoxuan

Copy link
Copy Markdown
Contributor

Update local tools to latest version. Install tauri-cli using the following command:

cargo install tauri-cli --version "^2.0.0" --locked

Refs: Tauri Manual Setup

@vercel

vercel Bot commented Oct 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 11:53am

@Hou-Xiaoxuan

Copy link
Copy Markdown
Contributor Author

@benjamin-747
Some parameters of Tauri commands have changed, which may require adjustments on the frontend. I have tested that the project can start, but I haven’t performed detailed functional tests.

For example:

[tauri::command]
fn start_mega_service(
    app: tauri::AppHandle,
    state: State<'_, Arc<Mutex<ServiceState>>>,
    params: MegaStartParams,
) -> Result<(), String> 

@genedna genedna added this to the 0.3.0 - Decentralized Git milestone Oct 4, 2024
@genedna

genedna commented Oct 4, 2024

Copy link
Copy Markdown
Collaborator

Link #631

@genedna genedna added the client label Oct 4, 2024
Signed-off-by: Hou Xiaoxuan <Hou_Xiaoxuan@163.com>
Merged via the queue into gitmono-dev:main with commit 0ac175d Oct 4, 2024
@Hou-Xiaoxuan
Hou-Xiaoxuan deleted the upgrade_tauri2 branch October 4, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants